<template>
  <div>
    <div>
      <h4>腰椎评分</h4>
      <el-row type="flex" justify="space-between">
        <el-col :span="6">
          <div>
            <el-button type="primary" @click="">填写《腰椎评分-前》</el-button>
          </div>
        </el-col>
        <el-col :span="5">
          <div>
            <span>前总分 </span>
            <el-input v-model="pgForm.yzpf_input1" placeholder="" readonly></el-input>
            <span> 分</span>
          </div>
        </el-col>

        <el-col :span="10">
          <div>
            <span>评定者 </span>
            <el-input v-model="pgForm.pre_assess" placeholder="评定者" ></el-input>
          </div>
        </el-col>
        <el-col :span="6">
          <div>
            <el-button type="primary" @click="">填写《腰椎评分-后》</el-button>
          </div>
        </el-col>
        <el-col :span="5">
          <div>
            <span>后总分 </span>
            <el-input v-model="pgForm.yzpf_input2" placeholder="" readonly></el-input>
            <span> 分</span>
          </div>
        </el-col>

        <el-col :span="10">
          <div>
            <span>评定者 </span>
            <el-input v-model="pgForm.fol_assess" placeholder="评定者" ></el-input>
          </div>
        </el-col>
      </el-row>
    </div>

  </div>
</template>

<script>
export default {
  name: "lumbar_score",
  created() {
    if(this.istrans){
      this.pgForm=this.fromdata
    }
  },
  props: {
    fromdata:{},
    istrans:false,
  },
  data() {
    return {
      pgForm:{
        pre_assess: '',
        fol_assess: '',
        yzpf_input1:'',
        yzpf_input2:'',
      },
    }
  },
  computed:{
    sum:{}
  },

}
</script>

<style scoped>
.el-row{
  margin: 10px 0;
  padding: 20px 20px;
  background-color: #f9f9f9;
  flex-wrap: wrap;
  flex-direction: row;
}
.el-col {
  margin:10px 0;
}
.el-input {
  width: 50%;
}
</style>
